package com.yfp.operation.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.sql.Timestamp;

/**
 *
 * @version 1.0
 * @date 2024-06-28 15:03
 */
@Data
public class InsertPlacementPlanDTO {

    /**
     * 计划组id
     */
    @Schema(description = "计划组id")
    private String planId;

    /**
     * 计划组名称
     */
    @Schema(description = "计划组名称")
    @NotNull(message = "计划组名称不能为空")
    private String planName;

    /**
     * 状态
     */
    @Schema(description = "状态")
    @NotNull(message = "状态不能为空")
    private String status;

    /**
     * 开始时间
     */
    @Schema(description = "开始时间")
    @NotNull(message = "开始时间不能为空")
    private Timestamp startTime;

    /**
     * 结束时间
     */
    @Schema(description = "结束时间")
    @NotNull(message = "结束时间不能为空")
    private Timestamp endTime;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String description;

    /**
     * 城市名称
     */
    @Schema(description = "城市名称")
    private String cityName;

    /**
     * 部门id
     */
    @Schema(description = "部门id")
    private Long deptId;
}
